class Test():
    def test(self):
        tup = "aa  bb".partition(" ");
        for item in tup:
            print item.strip()

if __name__ == "__main__":
    Test().test()
